package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月31 13:24
 * @desc 流程消息通知状态
 */
public enum ProcessMessageEnum implements IDescription {

    //待处理包括待盖章、待付款，已处理包括已盖章、已付款

    WAIT(0,"待审批"), SUCCESS(1,"审批完成"),
    REJECT(2,"驳回"), HANDLE(3, "已处理"),
    PROGRESS(4,"进度"), RECALL(5, "已撤回"),
    CANCEL(6, "已作废"), EXECUTE(7, "执行"),
    CONTACT(8, "合同评审"),SUPPLY(9, "合同授权"),
    CLIENT(10, "客户变更"),
    UPDATE_CONTRACT(11, "合同变更"),
    COPY(12, "抄送"),
    MATERIAL(13, "材料应用")
    ;

    private final String description;

    private final Integer code;

    ProcessMessageEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}